home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / Libraries / C Internet Config / IC Application Source ƒ / 68k Internet Config ƒ / IC Text Whats.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-11-21  |  1.1 KB  |  46 lines  |  [TEXT/SPM ]

  1. /*
  2.     IC Text Whats.h
  3.     
  4. */
  5.  
  6. #pragma once
  7.  
  8. #ifndef __H_IC_Text_Whats__
  9. #define __H_IC_Text_Whats__
  10.  
  11. #define tf_single_line 0
  12. #define tf_pstring 1
  13. #define tf_scrambled 2
  14. #define tf_monospace 3
  15.  
  16. #define tf_single_line_mask 0x0001
  17. #define tf_pstring_mask 0x0002
  18. #define tf_scrambled_mask 0x0004
  19. #define tf_monospace_mask 0x0008
  20.  
  21. #ifdef __cplusplus
  22. extern "C" {
  23. #endif
  24.  
  25. pascal void DrawTextProc(DialogPtr window,short item);
  26. Boolean HaveTextSelection(WindowType wt);
  27. void AdjustTextMenu(WindowType wt);
  28. void JustSelectTextItem(WindowType wt,short item);
  29. void SelectTextItem(WindowType wt,short item);
  30. void DoTextMenu(WindowType wt,short menuitem);
  31. Boolean BlockCompare(Ptr lhs,Ptr rhs,long size);
  32. void ScrambleHandle(Handle texth);
  33. void BlockFill(Ptr p,long size,char value);
  34. OSErr WhatOpenText(WindowType wt,short item);
  35. OSErr WhatFlushText(WindowType wt,short item);
  36. OSErr WhatCloseText(WindowType wt,short item);
  37. OSErr WhatClickText(WindowType wt,short item,EventRecord* er);
  38. OSErr WhatKeyText(WindowType wt,short item,EventRecord* er);
  39.  
  40. #ifdef __cplusplus
  41. }
  42. #endif
  43.  
  44. #endif /* __H_IC_Text_Whats__ */
  45.  
  46.